home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
src
/
bin
/
4dview
/
4dmap.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-17
|
1KB
|
56 lines
extern "C" {
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
}
#include <math.h>
#include "4dstuff.h"
// ===========================================================================
class object4d
{
public:
object4d();
~object4d();
int read4dfile(char *);
int clipobj(clip_plane *, int *);
char *return_name() {return (filename);}
poly_list polyhedron;
vertex_list polyvertex;
object4d *copyobj();
private:
char *filename;
};
// ***************************************************************************
class object3d
{
public:
object3d();
~object3d();
char *return_name() {return objname;}
poly_list polyhedron;
vertex_list polyvertex;
private:
char *objname;
};
// ***************************************************************************
class transform
{
public:
transform();
void pipe3dout(FILE *, object4d *, float [4][4], clip_plane *);
void fileout(char *, object4d *);
void copy(object4d *, object4d *);
void setproj(object4d *,int);
};
// ===========================================================================